package com.sleep.ruledemo.service;

import com.sleep.ruledemo.domian.DemoEvent;

import java.util.Map;

/**
 * @author GuoAo
 * @interfaceName DemoService
 * @date 2025/3/20
 * @description TODO
 */
public interface DemoService<T,R> {

    boolean handle(DemoEvent event);

    Map<T,R> execute(DemoEvent event);
}
